github.com/andybalholm/brotli/flate.huffmanEncoder.codes (field)
15 uses
github.com/andybalholm/brotli/flate (current package)
huffman_bit_writer.go#L164: cgnl[i] = uint8(litEnc.codes[i].len)
huffman_bit_writer.go#L169: cgnl[i] = uint8(offEnc.codes[i].len)
huffman_bit_writer.go#L313: value := uint(w.codegenEncoding.codes[codegenOrder[i]].len)
huffman_bit_writer.go#L324: w.writeCode(w.codegenEncoding.codes[uint32(codeWord)])
huffman_bit_writer.go#L417: w.writeTokens(matches, input, literalEncoding.codes, offsetEncoding.codes)
huffman_bit_writer.go#L418: w.writeCode(literalEncoding.codes[endBlockMarker])
huffman_code.go#L19: codes []hcode
huffman_code.go#L60: return &huffmanEncoder{codes: make([]hcode, size)}
huffman_code.go#L66: codes := h.codes
huffman_code.go#L96: codes := h.codes
huffman_code.go#L110: total += int(f) * int(h.codes[i].len)
huffman_code.go#L260: h.codes[node.literal] = hcode{code: reverseBits(code, uint8(n)), len: uint16(n)}
huffman_code.go#L288: h.codes[i].len = 0
huffman_code.go#L299: h.codes[node.literal].set(uint16(i), 1)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |